os/signal.signalCtx.Err (method, view implemented interface methods)
122 uses
os/signal (current package)
signal.go#L302: if ctx.Err() == nil {
os/exec
exec.go#L716: return c.ctx.Err()
exec.go#L820: err = c.ctx.Err()
context
context.go#L116: Err() error
context.go#L290: err := c.Err()
context.go#L487: child.cancel(false, parent.Err(), Cause(parent))
context.go#L512: child.cancel(false, parent.Err(), Cause(parent))
context.go#L526: child.cancel(false, parent.Err(), Cause(parent))
crypto/tls
conn.go#L1543: ret = ctx.Err()
quic.go#L519: if c.quic.ctx.Err() != nil {
database/sql
ctxutil.go#L23: return nil, ctx.Err()
ctxutil.go#L41: return nil, ctx.Err()
ctxutil.go#L58: return nil, ctx.Err()
ctxutil.go#L75: return nil, ctx.Err()
ctxutil.go#L92: return nil, ctx.Err()
ctxutil.go#L131: return nil, ctx.Err()
sql.go#L1332: return nil, ctx.Err()
sql.go#L1401: return nil, ctx.Err()
sql.go#L2254: return nil, nil, ctx.Err()
sql.go#L2302: return tx.ctx.Err()
sql.go#L3022: err := ctx.Err()
sql.go#L3025: err := txctx.Err()
sql.go#L3031: rs.close(ctx.Err())
github.com/jackc/pgx/v5/pgconn
errors.go#L167: switch ctx.Err() {
errors.go#L172: return &errTimeout{err: ctx.Err()}
errors.go#L240: return &errTimeout{&contextAlreadyDoneError{err: ctx.Err()}}
github.com/jackc/pgx/v5/pgxpool
pool.go#L694: return nil, ctx.Err()
github.com/jackc/puddle/v2
context.go#L16: func (ctx *valueCancelCtx) Err() error { return ctx.cancelCtx.Err() }
pool.go#L344: return nil, ctx.Err()
pool.go#L463: return nil, ctx.Err()
go.pact.im/x/flaky
debounce.go#L99: return ctx.Err()
debounce.go#L140: return ctx.Err()
permanent.go#L86: if ctx.Err() != nil {
retry.go#L59: if ctx.Err() != nil {
schedule.go#L161: return ctx.Err()
watchdog.go#L47: if ctx.Err() != nil {
go.pact.im/x/netchan
netchan.go#L125: return nil, ctx.Err()
go.pact.im/x/process
process.go#L136: return ctx.Err()
process.go#L186: return ctx.Err()
golang.org/x/net/http2
transport_common.go#L365: err = req.Context().Err()
transport_wrap.go#L341: return nil, ctx.Err()
transport_wrap.go#L524: return ctx.Err()
golang.org/x/sync/semaphore
semaphore.go#L55: return ctx.Err()
semaphore.go#L72: return ctx.Err()
semaphore.go#L98: return ctx.Err()
semaphore.go#L108: return ctx.Err()
golang.org/x/tools/go/packages
packages.go#L983: if err := ld.Context.Err(); err != nil {
packages.go#L1071: if ld.Context.Err() != nil {
packages.go#L1202: if ld.Context.Err() != nil {
golang.org/x/tools/internal/gocommand
invoke.go#L118: return nil, nil, ctx.Err(), ctx.Err()
invoke.go#L137: return ctx.Err(), ctx.Err()
invoke.go#L147: return ctx.Err(), ctx.Err()
invoke.go#L194: if ctx.Err() != nil {
invoke.go#L195: friendlyError = ctx.Err()
invoke.go#L344: err2 = ctx.Err()
google.golang.org/grpc
balancer_wrapper.go#L115: if ctx.Err() != nil || ccb.balancer == nil {
balancer_wrapper.go#L145: if ctx.Err() != nil || ccb.balancer == nil {
balancer_wrapper.go#L173: if ctx.Err() != nil || ccb.balancer == nil {
balancer_wrapper.go#L309: if ctx.Err() != nil || acbw.ccb.balancer == nil {
balancer_wrapper.go#L490: if ctx.Err() != nil || acbw.ccb.balancer == nil {
balancer_wrapper.go#L503: if ctx.Err() != nil || acbw.ccb.balancer == nil {
clientconn.go#L321: case ctx.Err() == err:
clientconn.go#L324: conn, err = nil, ctx.Err()
clientconn.go#L326: conn, err = nil, fmt.Errorf("%v: %v", ctx.Err(), err)
clientconn.go#L355: return nil, ctx.Err()
clientconn.go#L768: return false, status.FromContextError(ctx.Err()).Err()
clientconn.go#L1332: if acCtx.Err() != nil {
clientconn.go#L1374: if acCtx.Err() != nil {
clientconn.go#L1401: if acCtx.Err() == nil {
clientconn.go#L1460: if ctx.Err() != nil {
clientconn.go#L1503: if ctx.Err() != nil {
clientconn.go#L1543: if ctx.Err() != nil {
clientconn.go#L1563: if hctx.Err() != nil {
picker_wrapper.go#L129: errStr = fmt.Sprintf("%v while waiting for connections to become ready", ctx.Err())
picker_wrapper.go#L131: switch ctx.Err() {
resolver_wrapper.go#L71: if ctx.Err() != nil {
resolver_wrapper.go#L72: errCh <- ctx.Err()
resolver_wrapper.go#L101: if ctx.Err() != nil || ccr.resolver == nil {
stream.go#L533: cs.finish(toRPCErr(ctx.Err()))
stream.go#L542: if err := cs.ctx.Err(); err != nil {
stream.go#L545: if err := cs.cc.ctx.Err(); err != nil {
stream.go#L901: return false, status.FromContextError(cs.ctx.Err()).Err()
stream.go#L1496: as.finish(toRPCErr(ctx.Err()))
google.golang.org/grpc/credentials
tls.go#L137: return nil, nil, ctx.Err()
google.golang.org/grpc/internal/backoff
backoff.go#L89: for ctx.Err() == nil {
google.golang.org/grpc/internal/transport
client_stream.go#L133: s.Close(ContextErr(s.ctx.Err()))
http2_client.go#L268: if err := connectCtx.Err(); err != nil {
http2_client.go#L946: return nil, &NewStreamError{Err: ContextErr(ctx.Err())}
http2_server.go#L588: if s.ctx.Err() != nil {
http2_server.go#L1016: err := s.ctx.Err()
transport.go#L285: return 0, ContextErr(r.ctx.Err())
transport.go#L294: return nil, ContextErr(r.ctx.Err())
transport.go#L319: r.clientStream.Close(ContextErr(r.ctx.Err()))
transport.go#L346: r.clientStream.Close(ContextErr(r.ctx.Err()))
net
cgo_unix.go#L76: return zero, newDNSError(mapErr(ctx.Err()), lookupName, "")
dial.go#L739: return nil, &OpError{Op: "dial", Net: sd.network, Source: sd.LocalAddr, Addr: ra, Err: mapErr(ctx.Err())}
fd_unix.go#L52: return nil, mapErr(ctx.Err())
fd_unix.go#L102: ret = mapErr(ctx.Err())
fd_unix.go#L121: return nil, mapErr(ctx.Err())
lookup.go#L358: err := newDNSError(mapErr(ctx.Err()), host, "")
net.go#L819: return ctx.Err()
net/http
server.go#L3306: return ctx.Err()
server.go#L4098: switch err := ctx.Err(); err {
socks_bundle.go#L49: errCh <- ctx.Err()
transport.go#L2019: return nil, connectCtx.Err()
transport.go#L2990: return ctx.Err()
net/http/internal/http2
client_conn_pool.go#L284: return call.ctx.Err() != nil
transport.go#L443: err = req.Context.Err()
transport.go#L999: return ctx.Err()
transport.go#L1155: return ctx.Err()
transport.go#L1227: err := ctx.Err()
transport.go#L1276: return ctx.Err()
transport.go#L1288: return ctx.Err()
transport.go#L1345: err = ctx.Err()
transport.go#L1391: return ctx.Err()
transport.go#L1410: return ctx.Err()
transport.go#L1823: return 0, ctx.Err()
transport.go#L2900: return ctx.Err()
net/http/pprof
pprof.go#L305: err := r.Context().Err()